<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

${message}

<form action="${scriptPath}" id="listForm">

<jsp:include page="history.list-nav.jsp"></jsp:include>

<table>
<tr>
	<td>Đề thi</td>
	<td>Mã đề</td>
	<td>Ngày làm</td>
	<td>Thời gian làm</td>
	<td>Điểm số</td>
</tr>
<c:forEach items="${histories}" var="history">
<tr>
	<td><a href="${scriptPath}?action=history.view&id=${history.id}" 
			title="${history.test.description}">${history.test.name}</a></td>
	<td>${(history.mix.code == null) ? "&lt;không có&gt;" : history.mix.code}</td>
	<td>${history.takenDate}</td>
	<td>${history.time/60}:${history.time%60}</td>
	<td>${history.mark}</td>
</tr>
</c:forEach>
<tr>
</tr>
</table>

<jsp:include page="history.list-nav.jsp"></jsp:include>

</form>